package com.sinosoft;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * @author loujiang
 * @date 2020/12/25 10:30 上午
 * @NOTE:
 */
@SpringBootApplication
@EnableConfigServer
public class NacosConfigServerApplication {
    public static void main(String[] args) {
        new SpringApplicationBuilder
                (NacosConfigServerApplication.class)
                .web(WebApplicationType.SERVLET).run(args);
    }
}
